import { Field, Int, ObjectType } from "@nestjs/graphql";
import { BaseEntity } from "../base.entity/base.entity";
import { sys_paper } from "@prisma/client";

@ObjectType()
export class SysPaperEntity extends BaseEntity implements sys_paper {
  @Field(()=>Int)
  sys_test_paperId: number;

  @Field()
  answers: string;

  @Field(()=>Int)
  sys_userId: number;
}
